﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.ServiceModel.Syndication;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;
using System.Xml;
using EPiServer;
using EPiServer.Core;
using EPiServer.Filters;
using EPiServer.WebParts.WebControls;

namespace EPiServer.Municipality.Templates.MobilePages
{
    public partial class RssFeed : TemplatePage
    {
        protected override void OnPreInit(EventArgs e)
        {
            ContextMenu.IsMenuEnabled = false;
            base.OnPreInit(e);
        } 
        protected override void OnLoad(EventArgs e) {
            Response.ContentType = "application/rss+xml";
            RssControl.RssFeedPage = CurrentPage["RssSource"] as PageReference;
            base.OnLoad(e);
        }


    }
}
